package com.hb.znpt.adapter;

import androidx.annotation.NonNull;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.hb.znpt.R;
import com.hb.znpt.bean.LeaseBean;

/**
 * @Description: 描述
 * @Author: houbing
 * @CreateDate: 2021/12/17 14:59
 */
public class LeaseAdapter extends BaseQuickAdapter<LeaseBean, BaseViewHolder> {

    public LeaseAdapter() {
        super(R.layout.layout_item_lease);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder holder, LeaseBean bean) {
        holder.setText(R.id.tvName, bean.getFpxm());
        holder.setText(R.id.tvCard, bean.getFpsfz());
        holder.setText(R.id.tvArea, bean.getFpmj() + "亩");
    }
}
